package com.qf.business.search.service;

import com.qf.business.search.entity.CourseEsEntity;
import com.qf.business.search.entity.SearchParam;

import java.util.List;

/**
 * author Ken
 * create_time 2022/11/30
 */
public interface ISearchService {
    boolean createIndex();
    CourseEsEntity insertCourse(CourseEsEntity esEntity);

    List<CourseEsEntity> search(SearchParam searchParam);
}
